package com.luyu.req;

import com.luyu.group.CascadeGroup;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.ConvertGroup;
import lombok.Data;

/**
 * @Author lyh
 */
@Data
public class UserCascade extends User{

    @Valid
    @NotNull(message = "动物")
    private Animal animal;

}
